package net.bw.realtime.jtp.service.impl;

import net.bw.realtime.jtp.bean.TrafficUvReport;
import net.bw.realtime.jtp.mapper.TrafficChannelStatsMapper;
import net.bw.realtime.jtp.service.TrafficChannelStatsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author liuyawei
 * @date 2025/5/21
 */
@Service
public class TrafficChannelStatsServiceImpl implements TrafficChannelStatsService {

    @Autowired
    TrafficChannelStatsMapper trafficChannelStatsMapper;

    // 调用方法，求uv
    @Override
    public List<TrafficUvReport> getUvCount(String date) {

        return trafficChannelStatsMapper.selectUvCount(date);
    }
}
